/*header begin*/
.w {
    width: 800px;
    margin: 0 auto;
}
.header {
    width: 100%;
    height: 55px;
    background: url(../images/bg-2.gif) ;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.header .head_photo {
    float: left;
    background-color: #ccc;
    width: 55px;
    height: 55px;
    -webkit-border-radius: 50%;
    box-shadow: 0 0 20px gold;
    margin-left: 30px;
}

.header .head_p {
    float: left;
    margin-left: 22px;
    line-height: 55px;
    font-size: 22px;
    color: aqua;
}

.header  .nav {
    float: right;
    margin-right: 30px;
}
.header .nav li {
    float: left;
}
.header .nav li a {
    margin: 10px;
    color: burlywood;
    line-height: 55px;
}

/*message begin*/

 /*index*/
.one {
    /*background-color: skyblue;*/
    background: url(../images/bg-1.gif) ;
}
.ab_content {
    text-align: center;
    padding-top: 100px;
}
.ab_cont_photo {
    transform: translateY(200px) rotateZ(3600deg);
   opacity: 0;
}

.ab_cont_photo img{
    width: 200px;
    height: 200px;
    border-radius: 50%;
}
.ab_link {
    margin: 0 auto;
    opacity: 0;
    width: 0%;
    height: 2px;
    background-color: #ccc;
}
.ab_content p {
    font-size: 12px;
    line-height: 34px;
}
.ab_content .ab_cont_p p {
    opacity: 0;
    transform: translateY(200px);
}

.ab_content .ab_tex{
    margin: 10px 0 10px 0;
    font-size: 22px;
    line-height: 50px;
    font-weight: 600;
}
.ab_cont_p {
    width: 100%;
}

/*one animate*/

.one.animation  .ab_cont_photo {
    transform: translateY(0px) rotateZ(0deg);
    opacity: 1;
    transition: all 2s;
}

/*one animation*/

.one.animation .ab_content p {
    opacity: 1;
    transform: translateY(0px);

}
.one.animation .ab_content p:nth-child(1){
    transition: all 2s 0.2s ;
}
.one.animation .ab_content p:nth-child(2){
    transition: all 2s 0.5s ;
}
.one.animation .ab_content p:nth-child(3){
    transition: all 2s 0.8s ;
}
.one.animation .ab_content p:nth-child(4){
    transition: all 2s 1s ;
}
.one.animation .ab_link {
    opacity: 1;
    width: 100%;
    transition: all 2s  ;
}


/*two myself*/
.two {
    /*background-color: burlywood;*/
    background: url(../images/bg-4.gif) ;
}
.myself {
    padding-top: 80px;
    text-align: center;
}
.my_top {
    padding-bottom: 50px;
}
.my_top h1{
    font-weight: 400;
    font-size: 28px;
}
.my_top  h3{
    font-weight: 400;
    font-size: 18px;
}
.my_top .my_line  {
    margin: 0 auto;
    width: 0px;
    height: 2px;
    background-color: red;
}
.my_content {
    background-color: #ccc;
    padding: 40px;
    height: 200px;
    border-radius: 100px;
}
.my_content ul {
    display: flex;
    justify-content: space-around;
}
.my_content ul li a {
    /*overflow: hidden;*/
    display: block;
    width: 80px;
    height: 80px;
    border: 4px solid rgba(100 ,100, 100, .5);
    border-radius: 50%;
    box-shadow: 0 0 30px red;
}
.my_content ul li a img {
    display: block;
    margin:10px 0 20px 10px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
}
.my_content ul li a p {
    width: 80px;
    line-height: 30px;
    /*font-size: 12px;*/
    color:#fff;
}
.my_content ul li a p:nth-of-type(1){
    text-align: left;
}
.my_content ul li a p:nth-of-type(2){
    text-align: right;
}
.myself  .browser {
    padding: 18px;
    text-align: left;
    top: 10px;
    height: 200px;
    position: relative;
}
.myself  .browser .line{
    position: absolute;
    background-color: #999;
}
.myself .browser .top{
    top: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
}
.myself  .browser .bottom{
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
}
.myself  .browser .left{
    top: 0px;
    left: 0px;
    width: 2px;
    height: 100%;
}
.myself  .browser .right{
    top: 0px;
    right: 0px;
    width: 2px;
    height: 100%;
}

/*two animation*/

.two.animation .my_top .my_line,
.three.animation .my_top .my_line ,
.four.animation .my_top .my_line {
    width: 120px;
    transition: all 2s;
}
@keyframes le_r {
    10% {
        transform: translateX(100px);
    }
    50%{
        transform: translateX(-100px);
    }
    100% {
        transform: translateX(0px);
    }
}
@keyframes le_s {
    10% {
        transform: translateX(35px);
    }
    20%{
        transform: translateX(-35px);
    }
    30% {
        transform: translateX(25px);
    }
    40% {
        transform: translateX(-25px);
    }
    50% {
        transform: translateX(20px);
    }
    60% {
        transform: translateX(-20px);
    }
    70% {
        transform: translateX(10px);
    }
    80% {
        transform: translateX(-10px);
    }
    90% {
        transform: translateX(5px);
    }
    100% {
        transform: translateX(0px);
    }
}
.my_content ul li a:hover img {
    /*transition: all  0.5s ;*/
    animation: le_s 1s;
}


.two{
    overflow: hidden;
}
.two .left{
    transform: translateY(-1000%);
}
.two .top{
    transform: translateX(1000%);
}
.two .bottom{
    transform: translateX(-1000%);
}
.two .right{
    transform: translateY(1000%);
}

.two.animation .line{
    transition:  all 1s;
    transform: translate(0,0);
}

.two.animation .line{
    transition:  all 1s;
    transform: translate(0,0);
}



    /*three*/
.three {
    /*background-color: darkcyan;*/
    background: url(../images/bg-4.gif) ;
    padding-top: 100px;
}
.skill {
    text-align: center;
}
.skill_content ul {
    padding-top: 20px;
    display: flex;
    justify-content: space-around;
}
.skill_content li {
    width: 25%;
    float: left;
}
.skill_content li img {
    margin: 0 auto;
    display: block;
    width: 80px;
    height: 100px;
}
.skill_content li span {
    margin-top: 10px;
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../images/skill_flag.png) no-repeat center ;
}
.skill_content .skill_info {
    margin-top: 10px;
    height: 0px;
    background-color: red;
}



/*three animation*/
.skill_content li:hover {
    font-size: 16px;
    transition: all .8s;
}
.skill_content li:hover img {
    transition: all .8s;
    /*margin: -10px;*/
    width: 85px;
    height: 105px;
}
.skill_content li:hover span {
    transition: all 0.8s;
    transform: rotate(180deg);
}
.skill_content li:hover .skill_info {
    height: 200px;
    transition: all 1.6s;
}




.four {
    /*background-color: salmon;*/
    background: url(../images/bg-5.jpg) ;
    padding-top: 100px;
}
.four .exp {
    text-align: center;
}
.exp_box {
    background-color: yellow;
    margin: 0 10px;
    width: 240px;
    height: 300px;
    float: left;
}
.exp_box .exp_1_title , .exp_box .fmidd {
    overflow: hidden;
    width: 0;
    height: 60px;
    background-color: red;
    margin-bottom: 20px;
}
.exp_box .fleft {
    float: left;
}
.exp_box .fright {
    float: right;
}
.exp_box .exp_1_key {
    opacity: 0;
    width: 0;
    line-height: 60px;
    color: #ccc;
    font-size: 22px;
}
.exp_box .exp_1_cont {
    opacity: 0;
    margin-top: 90px;
    line-height: 30px;
    height: 0px;
    background-color: green;
}
.exp_box .midd {
    margin-top: 30px;
}
.exp_box .fmidd {
    width: 100%;
    height: 0;
}
/*four animation*/

.exp_1 {
    transform:translateX(-500%) ;
}
.exp_2 {
    opacity:0;
}
.exp_3 {
    transform:translateX(500%) ;
}

.four.animation .exp_box {
    opacity: 1;
    transition:all .8s;
    transform:translateX(0%) ;
}
.four.animation .exp_box .exp_1_title  {
    transition:all .8s .8s;
    width: 100%;
}
.four.animation .exp_box .exp_1_key  {
    opacity: 1;
    transition:all 1s 1.2s;
    transition-timing-function: steps(5);
    width: 240px;
}
.four.animation .exp_box .exp_1_cont  {
    opacity: 1;
    transition:all 1s 1.8s;
    transition-timing-function: steps(6);
    height: 220px;
}
.four.animation .exp_box .fmidd  {
    transition:all .8s .8s;
    height: 60px;
}



/*five*/
.five  {
    background: url(../images/bg-2.gif) ;
    padding-top: 100px;
}